//
//  BaseViewController.h
//  AutoHome
//
//  Created by wqh on 15-5-9.
//  Copyright (c) 2015年 Wqh. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^PageJumgpBlockType) (UIViewController *);
typedef void (^HidddTbaBarBlockType) (BOOL);
@interface BaseViewController : UIViewController


//车型详细信息界面需要用到，访问服务器的四个参数
@property (nonatomic,copy) NSNumber *systemId;
@property (nonatomic,copy) NSNumber *typeId;
@property (nonatomic,copy) NSNumber *cityId;
@property (nonatomic,copy) NSString *titleName;

/**
 *  定义一个block 用来跳转页面
 */
@property (nonatomic,copy) PageJumgpBlockType myPageJumpBlcok;


/*
 * 模态跳转block
 */
@property (nonatomic,copy) PageJumgpBlockType myJumpBlcok;

/**
 *  定义一个block 用来设置是否隐藏tabBar
 */
@property (nonatomic,copy) HidddTbaBarBlockType myHiddeTabBarBlock;


//定义一个方法用来显示tabBar
- (void)displayCustomTabBar;

@end
